package com.kgc.java;

import java.util.Scanner;

public class test02 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        System.out.println("请输入张浩的学习任务是否合格");
        String str=input.next();
        while (str.equalsIgnoreCase("no")){
            System.out.println("上午学习，下午学习");
            System.out.println("请输入张浩同学的学习任务是否合格");
            str=input.next();
        }
        System.out.println("玩去吧");
    }
}
